﻿@model LeadVinaglue.Models.ViewPages.ProductViewModel
           
<div class="left">
	<div id="box680">
		<div id="top680">
			<div class="left">
				<div class="left">
					<a class='@(Model.SortOrder == "moi-nhat"?"active":"")' href="@Model.TopLinks.NewLink">Mới Nhất</a>
					<a class='@(Model.SortOrder == "xem-nhieu"?"active":"")' href="@Model.TopLinks.ViewLink">Xem nhiều</a>
					<a class='@(Model.SortOrder == "download-nhieu"?"active":"")' href="@Model.TopLinks.DownloadLink">Download nhiều</a>
					<a class='@(Model.SortOrder == "bo-su-tap"?"active":"")' href="@Model.TopLinks.GalleryLink">Bộ sưu tập</a>
				</div>
				<ul class="left">
					<li class="dropdownitem">
						<a class="capdrop" href="javascript:void()">More&nbsp;</a>
						<ul class="dropdown" style="display: none;">
							<li><a href="/liet-ke-tai-lieu.0.0.html/page=0.vt=yeu-thich-nhat">Yêu thích nhiều</a></li>
							<li><a href="/liet-ke-tai-lieu.0.0.html/page=0.vt=binh-luan-nhieu-nhat">Bình luận nhiều</a></li>
						</ul>
					</li>
				</ul>

			</div>
			<div class="right">
				<div id="titlesearch">
					<input type="text" class="inputtext" name="txtsearch1" id="txtsearch1" onkeydown="if(event.keyCode==13){doSearch('txtsearch1');return false;}">
					<input type="image" onclick="doSearch('txtsearch1');return false;" src="/Images/search2.jpg" name="btnsearch" id="btnsearch">
					<div id="clear"></div>
				</div>
			</div>
			<div id="clear"></div>
		</div>
		<div id="middle680">
			<div class="toprow">
				@Html.Partial("Filters", Model.Filters)
				<div style="float:right;font-size:11px;">
                    @Html.Raw(Model.ShowingHtml)
                    &nbsp;
					<a href="##"><img src="//iconrss.gif"></a>
				</div>
				<div id="clear"></div>
			</div>
			<ul class="listdoc02">
                @foreach (var item in Model.ProductList)
                {
				<li>
					<div class="document left marginright10">
						<a href="@item.LinkUrl">
							<img src="@item.ImageUrl" alt="@item.Title" width="105" height="125" border="0" />
						</a>
					</div>
					<div class="context">
						<a href="@item.LinkUrl"><h2>@item.Title</h2></a>
						<p class="desc">@Html.Raw(item.LongDesc)</p>
                        <p>
                            <span class="fred"><img alt="@item.FileType" src='/images/@(item.FileType.Replace(".", string.Empty))16x16.gif' /></span> trang Chia sẻ: <a href="/search?fb=member&fv=@item.Username" class="fbold">@item.Username</a> Ngày: <span class="fred">@item.CreationDate</span>
                            <span class="plr_5">|</span>Lượt xem: <span class="fred">@item.Reviewed</span>
							<span class="plr_5">|</span>Download: <span class="fred">@item.Downloaded</span>
						</p>
                        @if (!string.IsNullOrEmpty(item.Tags))
                        {
						    <p>
							    <span>Từ khóa: </span>
                                @Html.Raw(item.Tags)
						    </p>
                        }
					</div>
				</li>
                }
            </ul>
		    <div class="page_view">
			    <ul>
                    @Html.Raw(Model.PaginateHtml)
                </ul>
		    </div>
	    </div>
	    <div id="bottom680"></div>
    </div>
</div>